<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>


<script type="text/javascript" src="js/jquery.itextclear.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('input[type=text], input[type=password], input[type=url], input[type=email], input[type=number], textarea', '.form').iTextClear();
    });
</script>
<!-- jQplot CSS -->

<link rel="stylesheet" media="screen" href="${ctx}/css/Tree.css"/>
<link rel="stylesheet" media="screen" href="${ctx}/css/docs.css"/>
<!-- jQplot CSS END -->

<!-- DATATABLES CSS -->
<link rel="stylesheet" media="screen" href="lib/datatables/css/vpad.css"/>
<script type="text/javascript" src="lib/datatables/js/jquery.dataTables.js"></script>
<script type="text/javascript">
    /*$(document).ready(function() {
     $('#example').dataTable({
     "sPaginationType": "full_numbers"
     });
     });*/
</script>
<!-- DATATABLES CSS END -->

<script>
    $(document).ready(function () {
        $('#simple-button').popover('#simple-popover', {});
        $('#top-button').popover('#top-popover', {preventLeft:true, preventRight:true, preventBottom:true});
    });
</script>

<style>
    .current_organization_ul li {
        height: 22px;
        line-height: 22px
    }

    span.title {
        font-weight: 600;
        padding-right: 15px;
    }
</style>

<h1 class="page-title">行政签核系统 - 出差申请单  - 审核</h1>

<div class="container_12 clearfix leading">
    <section class="tabs grid_12 leading">
        <ul class="clearfix">
            <li><a href="#" class="current">出差申请单 </a></li>
        </ul>
        <section>
            <section class="clearfix" style="display: block;">
                <header class="grid_12 alpha omega">
                </header>
                <div id="demo" class="clearfix">
                    <table class="display" id="example">
                        <thead>
                        <tr>
                            <th style=" width:15%">流水号</th>
                            <th>员工号</th>
                            <th>请款人</th>
                            <th>部门</th>
                            <th>职位</th>
                            <th style=" width:10%">申请时间</th>
                            <th style=" width:10%">出差事由</th>
                            <th style=" width:10%">出差地点</th>
                            <th style=" width:20%">总金额</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr class="gradeX">
                            <td>${applyForm.serialNumber}</td>
                            <s:if test="#request.applyForm.creator_id == -1000">
                                <td>无</td>
                                <td>超级管理员</td>
                                <td>无</td>
                                <td><span id="GridView1_ctl04_Label0">无</span></td>
                            </s:if>
                            <s:else>
                                <td>${applyForm.work.workNo}</td>
                                <td>${applyForm.work.baseId.name}</td>
                                <td>${applyForm.work.organization.fullName}</td>
                                <td><span id="GridView1_ctl04_Label1">${financialPaymentApplyForm.work.duty.dutyName}</span></td>
                            </s:else>
                            <td><s:date name="#request.applyForm.create_date" format="yyyy-MM-dd"/></td>
                            <td>${applyForm.evectionReason}</td>
                            <td>${applyForm.evectionAddress}</td>
                            <td>${applyForm.amount}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </section>
        <DIV class="portlet">
            <header>
                <h5_n>明细</h5_n>
            </header>
            <section class="clearfix">
                <div class="grid_3">
                    <dl>
                        <dt>出差地点   </dt>
                        <dd><h6>${applyForm.evectionAddress}</h6></dd>
                        <dt>费用合计为 </dt>
                        <dd><h6>${applyForm.amount}</h6></dd>
                        <dt>餐费 </dt>
                        <dd><h6>${applyForm.mealCost}</h6></dd>
                    </dl>
                </div>
                <div class="grid_3">
                    <dl>
                        <dt>出差时间自   </dt>
                        <dd><h6><s:date name="#request.applyForm.evectionStartDate" format="yyyy-MM-dd"/> </h6></dd>
                        <dt> 机/车票  </dt>
                        <dd><h6>${applyForm.planeCost}</h6></dd>
                        <dt>其他  </dt>
                        <dd><h6>${applyForm.otherCost}</h6></dd>
                    </dl>
                </div>
                <div class="grid_3">
                    <dl>
                        <dt>出差时间至  </dt>
                        <dd><h6><s:date name="#request.applyForm.evectionEndDate" format="yyyy-MM-dd"/> </h6></dd>
                        <dt>交通费  </dt>
                        <dd><h6>${applyForm.trafficCost}</h6></dd>
                    </dl>
                </div>
                <div class="grid_3 omega">
                    <dl>
                        <dt>共计时间为  </dt>
                        <dd><h6>${applyForm.days}天${applyForm.hours}时</h6></dd>
                        <dt>住宿费</dt>
                        <dd><h6>${applyForm.stayCost}</h6></dd>
                    </dl>
                </div>
            </section>
        </DIV>
    </section>
    <div class="tabs side grid_12 leading">
        <div class="clear"></div>
    </div>
</div>


<%@ include file="/WEB-INF/pages/common/common_audit.jsp" %>